package com.jic.interaction.ChinaPost.controller;

import com.jic.common.base.vo.RestResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@Api(tags = "【微常准测试】")
@RequestMapping(value = "/test")
@RestController
public class TestRest {



	@RequestMapping(value = "/test")
    @ApiOperation(value = "微常准测试")
	public RestResult wxPayNotify()throws Exception {
		String s = HttpClientsUtils.get("https://svrapi.test.webank.com/m/api/oauth2/access_token?app_id=W3408745&secret=lqdvKh3BHs0DXofDT6mDv2EFNT4Vl8MlqLivdEXB3WSQoTFRoL0ttdtYYEJ20JtP&grant_type=client_credential&version=1.0.0", null);
		log.info(s+"xxxxxxxxxxxx");
		return RestResult.success(s);
	}
}
